Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal #412

Merged
merged 7 commits into from
Oct 21, 2024

Conversation

mirafedas
Copy link
Contributor

@mirafedas mirafedas commented Sep 23, 2024

MWPW-158911:
In merch-sidenav.js, when the filters modal is closed by clicking outside of it (rather than using the 'Close' button), the overlay emits a close event. On this event, we need to remove the merch-modal class; otherwise, the page will remain unscrollable.
!!! The related Milo PR has to be merged first for this feature to work: adobecom/milo#2933

MWPW-159427:
On iOS version 15 and lower there is a different way of managing the vertical stacking context, which puts the modal below the merch card. Adding z-index on the merch-sidenav resolves this problem.
Related Milo PR: adobecom/milo#2994

Resolves: MWPW-158911 and MWPW-159427

Test URLs for MWPW-158911:

Test URLs for MWPW-159427:

For PSI check:
https://mwpw-158911-modal-scroll--cc--adobecom.hlx.live/products/animate/free-trial-download?martech=off&georouting=off

Copy link

aem-code-sync bot commented Sep 23, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

Copy link

aem-code-sync bot commented Sep 23, 2024

@yesil
Copy link
Contributor

yesil commented Sep 23, 2024

@mirafedas can you link the Milo PR?

@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to failing checks

@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

2 similar comments
@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

@aem-code-sync aem-code-sync bot temporarily deployed to mwpw-158911-modal-scroll September 26, 2024 07:54 Inactive
@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to failing checks

@aem-code-sync aem-code-sync bot temporarily deployed to mwpw-158911-modal-scroll September 26, 2024 10:28 Inactive
@aem-code-sync aem-code-sync bot temporarily deployed to mwpw-158911-modal-scroll September 27, 2024 04:14 Inactive
@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to failing checks

@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

1 similar comment
@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

README.md Outdated Show resolved Hide resolved
@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

@aem-code-sync aem-code-sync bot temporarily deployed to mwpw-158911-modal-scroll October 3, 2024 09:26 Inactive
@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

@aem-code-sync aem-code-sync bot temporarily deployed to mwpw-158911-modal-scroll October 8, 2024 10:30 Inactive
@aem-code-sync aem-code-sync bot temporarily deployed to mwpw-158911-modal-scroll October 8, 2024 11:43 Inactive
creativecloud/blocks/sidenav/sidenav.js Outdated Show resolved Hide resolved
creativecloud/blocks/sidenav/sidenav.js Outdated Show resolved Hide resolved
@aem-code-sync aem-code-sync bot temporarily deployed to mwpw-158911-modal-scroll October 8, 2024 11:50 Inactive
@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to failing checks

@aem-code-sync aem-code-sync bot temporarily deployed to mwpw-158911-modal-scroll October 8, 2024 13:56 Inactive
@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to failing checks

@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

2 similar comments
@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

@mirafedas
Copy link
Contributor Author

@yesil I added the change to use the merch-sidenav.js directly from Milo, could you please review?

@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

1 similar comment
@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

@milo-pr-merge-cc
Copy link

Skipped merging 412: MWPW-158911: Unable to scroll page if the filters modal closed by click outside of the modal due to missing verified label. kindly make sure that the PR has been verified

@milo-pr-merge-cc milo-pr-merge-cc bot merged commit 491ef09 into stage Oct 21, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants